package com.pkx.cloud.fse7.dms.openpic.feign;

import com.pkx.cloud.fse7.dms.openpic.entity.OpenPic;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "openpic",url = "http://192.168.3.42:60009/api/DmsOpenPic")
public interface OpenPicFeign {
    @PostMapping("/Add")
    String add(@RequestBody OpenPic openPic);
    @PutMapping("/Modify")
    String update(@RequestBody OpenPic openPic);
    @PostMapping("/DeleteFunc")
    String delete(String id);

}
